package com.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.bean.Indent;

import com.dao.IndentMapper;
import com.dao.MarketingMapper;

import com.service.IndentService;
import com.service.MarketingService;

@Service
public class IndentServiceImpl implements IndentService{
	@Autowired
    private IndentMapper dao;


	public int insert(Indent record) {
		// TODO Auto-generated method stub
		return dao.insert(record);
	}


	public List<Indent> selectAll() {
		// TODO Auto-generated method stub
		return dao.selectAll();
	}


	public List<Indent> selectAllByUserid(Integer userid) {
		// TODO Auto-generated method stub
		return dao.selectAllByUserid(userid);
	}


	public Indent selectByuidmidct(Map map) {
		// TODO Auto-generated method stub
		return dao.selectByuidmidct(map);
	}


	public int updateByPrimaryKeystate(Map map) {
		// TODO Auto-generated method stub
		return dao.updateByPrimaryKeystate(map);
	}


	public Indent selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return dao.selectByPrimaryKey(id);
	}


	public List<Indent> selectAllcnameuname(Map map) {
		// TODO Auto-generated method stub
		return dao.selectAllcnameuname(map);
	}


	public List<Indent> selectAllBycnameuname(Map map) {
		// TODO Auto-generated method stub
		return dao.selectAllBycnameuname(map);
	}


	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return dao.deleteByPrimaryKey(id);
	}


	public Indent selectByPrimaryKeyduo(Integer id) {
		// TODO Auto-generated method stub
		return dao.selectByPrimaryKeyduo(id);
	}
	
	


}
